package service.service_login;

import java.util.List;

import entitybean.oc_operator_user.EntityBeanOc_Operator_User;
import entitybean.oc_user_name.EntityBeanOc_User_Name;
import entitybean.rolepower.EntityBeanRolepower;
import entitybean.systemtree.EntityBeanSystemtree;

public interface Service_Login {
	public void Insert_Oc_User_Name(EntityBeanOc_User_Name e);
	public void Update_Oc_User_Name(EntityBeanOc_User_Name e);
	public void Delete_Oc_User_Name(EntityBeanOc_User_Name e);
	public EntityBeanOc_User_Name Find_EntityBeanOc_User_Name(String username,String password);
	public EntityBeanOc_User_Name Find_EntityBeanOc_User_Name_By_ID(Integer id);
	public EntityBeanOc_User_Name Find_EntityBeanOc_User_Name_Admin(String username,String password);
	public EntityBeanOc_User_Name Find_EntityBeanOc_By_Email(String email);
	
	public void Insert_Oc_Operator_User(EntityBeanOc_Operator_User e);
	public void Update_Oc_Operator_User(EntityBeanOc_Operator_User e);
	public void Delete_Oc_Operator_User(EntityBeanOc_Operator_User e);
	public List<EntityBeanOc_Operator_User> Find_EntityBeanOc_Operator_User_by_account_and_password(String account,String password);

	public void Insert_Rolepower (EntityBeanRolepower entitybeanrolepower);
	public void Update_Rolepower (EntityBeanRolepower entitybeanrolepower);
	public void Delete_Rolepower (EntityBeanRolepower entitybeanrolepower);
	public List<EntityBeanRolepower> Find_Rolepower_By_role_id (Integer role_id);

	public void Insert_SystemTree (EntityBeanSystemtree entitybeansystemtree);
	public void Update_SystemTree (EntityBeanSystemtree entitybeansystemtree);
	public void Delete_SystemTree (EntityBeanSystemtree entitybeansystemtree);
	public EntityBeanSystemtree Find_SystemTree_By_f_jd (Integer f_jd);
	public List<EntityBeanSystemtree> Find_SystemTree_By_Root();
	public List<EntityBeanSystemtree> Find_SystemTree_By_c_jd(Integer c_jd);
	public String Show_All_SystemTree_R(String key,String picpathA,String picpahtB);
	//����ֱ��չʾһ����״�ṹ��������һ����ѡģʽ��ֵ,�����������keyʱ������ݱ�ѡ��,ʹ��picpathA����Ƭװ�����²�˵�����ݣ�ʹ��picpathB����Ƭװ�����²�˵������
	public String Show_All_SystemTree_C(List<String> keylist,String picpathA,String picpahtB);
	//����ֱ��չʾһ����״�ṹ��������һ����ѡ��ģʽ��ֵ,�����������keylistʱ��Щ��ݱ�ѡ�У�ʹ��picpathA����Ƭװ�����²�˵�����ݣ�ʹ��picpathB����Ƭװ�����²�˵������
	public List<EntityBeanSystemtree> Find_SystemTree_In_c_jd(String c_jd);
	
}
